/*
 * tbb_sc_method_task.cpp
 *
 *  Created on: Apr 23, 2010
 *      Author: sdaniele
 */

#include "tbb/task.h"

#include "sysc/kernel/sc_tbb_method_task.h"
#include "sysc/kernel/sc_method_process.h"

#include "sysc/kernel/syscpar_common.h"

#include <iostream>

using namespace tbb;

namespace sc_core {

sc_tbb_method_task::sc_tbb_method_task(sc_method_handle method):m_method(method){

}

::tbb::task* sc_tbb_method_task::execute(){
	m_method->semantics();
	return NULL;
}

}
